//
//  AISDeviceController.h
//  AISUPnP
//
//  Created by Ares on 1/26/15.
//  Copyright (c) 2015 Ares. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol AISDeviceControllerDelegate;
@class AISUPnPDevice;

@interface AISDeviceController : NSObject

+ (AISDeviceController *)sharedInstance;

@property(nonatomic, weak) id<AISDeviceControllerDelegate> delegate;

- (void)search;
- (NSArray *)foundDevices;

@end


@protocol AISDeviceControllerDelegate <NSObject>

@optional
- (void)deviceControllerDidDeviceAdded:(AISUPnPDevice *)device;
- (void)deviceControllerDidDeviceUpdated:(AISUPnPDevice *)device;
- (void)deviceControllerDidDeviceRemoved:(AISUPnPDevice *)device;

@end
